import {
  createRouter,
  createWebHashHistory,
  // createWebHistory,
  type RouteRecordRaw,
} from "vue-router";
 
const routes: Array<RouteRecordRaw> = [
  {
    path: "/",
    name: "Home",
    component: () => import("@/views/index/Home.vue"),
  },
  {
    path: "/about",
    name: "About",
    component: () => import("@/views/About.vue"),
  },
];
 
const router = createRouter({
  history: createWebHashHistory(),
  routes,
});
 
export default router;